<!DOCTYPE html>
<html lang="en">

	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title></title>
		<link href="../../app/js/bootstrap-3.3.7-dist/css/bootstrap.min.css" rel="stylesheet">
		<link rel="stylesheet" type="text/css" href="../../app/css/footer.css" />
		<link rel="stylesheet" href="../../app/css/lystyle.css" />
		<style type="text/css">
			/*修改底部字体颜色*/
			
			.foot:nth-child(2) {
				color: #e83023;
			}
			
			#wrap div#content {
				padding-top: 1.3rem;
			}
		</style>
		<script src="../../app/js/flexible.min.js" type="text/javascript" charset="utf-8"></script>
	</head>

	<body>
		<div id="wrap">
			<div id="main">
				<div id="header">
					<a href="javascript:history.go(-1)" id="headImg" href="#"><img class="headImg" src="../../app/images/12.png" /></a>
					<p id="headTitle">设置</p>
				</div>
				<div id="content">
					<ul class="ly-person">
						<li class="ly-person-li">
							<a href="../../app/view/personage/person_accountManage.html">
								<span>账号与安全<img src="../../app/images/personage/anquan.png" style="height: 0.466rem; padding-left: 0.1rem;"/></span><img src="../../app/images/coalltion/more.png" />
							</a>
						</li>
						<li class="ly-person-li">
							<a>
								<a href="backstage_pay.html"> <span>创客续费</span></a>
							</a>
						</li>
						<li class="ly-person-li">
							<a onclick="out()">
								<span>退出登录</span>
							</a>
						</li>
					</ul>
				</div>
			</div>
		</div>
	</body>
	<script src="../../app/js/jquery-2.2.3.min.js" type="text/javascript" charset="utf-8"></script>
	<script src="../../app/js/jquery.cookie.js" type="text/javascript" charset="utf-8"></script>
	<script type="text/javascript">
		function out() {
			$.ajax({
				type: "get",
				url: "http://47.104.13.109/member-service/auth/logout?token=" + $.cookie('tokenRh'),
				async: false,
				success: function(res) {
					$.removeCookie('tokenReztApp', {
						expires: 7,
						path: '/'
					});
					$.removeCookie("tokenRh", {
						expires: 7,
						path: '/'
					});
					$.removeCookie('memberId', {
						expires: 7,
						path: '/'
					});
					$.removeCookie('roleId', {
						expires: 7,
						path: '/'
					});
					console.log(res);
					window.location.href = "../login/login/login.html";
				},
				error: function(res) {
					console.log(res);
				}
			});
		}
	</script>

</html>